package com.aaa.service;


import com.aaa.entity.ContractRent;
import com.aaa.entity.Result;
import com.aaa.query.ContractQuery;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author auto
 * @since 2021-01-29
 */
public interface IContractRentService extends IService<ContractRent> {

    Result listAllRentPublic();

    Result updateRentPublic(ContractRent contract);

    Result addRentPublic(ContractRent contract);

    Result rentPublicQuery(ContractQuery query);




    Result listAllRentElse();

    Result updateRentElse(ContractRent contract);

    Result deleteRent(String number);

    Result addRentElse(ContractRent contract);

    Result rentElseQuery(ContractQuery query);



}
